home *** CD-ROM | disk | FTP | other *** search
Unknown | 2007-11-12 | 10.8 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| b3 f2 0d 0a 48 02 da 44 | 63 00 00 00 00 00 00 00 |....H..D|c.......|
|00000010| 00 11 00 00 00 40 00 00 | 00 73 42 01 00 00 64 00 |.....@..|.sB...d.|
|00000020| 00 5a 00 00 64 01 00 64 | 02 00 6b 01 00 5a 01 00 |.Z..d..d|..k..Z..|
|00000030| 64 01 00 64 02 00 6b 02 | 00 5a 02 00 64 01 00 64 |d..d..k.|.Z..d..d|
|00000040| 02 00 6b 03 00 5a 03 00 | 64 03 00 64 04 00 64 05 |..k..Z..|d..d..d.|
|00000050| 00 64 06 00 64 07 00 64 | 08 00 64 09 00 64 0a 00 |.d..d..d|..d..d..|
|00000060| 64 0b 00 64 0c 00 64 0d | 00 64 0e 00 64 0f 00 64 |d..d..d.|.d..d..d|
|00000070| 10 00 67 0e 00 5a 04 00 | 64 11 00 64 12 00 64 13 |..g..Z..|d..d..d.|
|00000080| 00 84 02 00 5a 05 00 64 | 02 00 64 14 00 84 01 00 |....Z..d|..d.....|
|00000090| 5a 07 00 64 15 00 84 00 | 00 5a 08 00 64 02 00 64 |Z..d....|.Z..d..d|
|000000a0| 02 00 64 16 00 84 02 00 | 5a 09 00 64 02 00 64 17 |..d.....|Z..d..d.|
|000000b0| 00 84 01 00 5a 0a 00 64 | 02 00 64 18 00 84 01 00 |....Z..d|..d.....|
|000000c0| 5a 0b 00 64 02 00 64 02 | 00 64 19 00 84 02 00 5a |Z..d..d.|.d.....Z|
|000000d0| 0c 00 64 02 00 64 1a 00 | 84 01 00 5a 0d 00 64 1b |..d..d..|...Z..d.|
|000000e0| 00 84 00 00 5a 0e 00 64 | 1c 00 84 00 00 5a 0f 00 |....Z..d|.....Z..|
|000000f0| 64 1d 00 84 00 00 5a 10 | 00 64 02 00 64 02 00 64 |d.....Z.|.d..d..d|
|00000100| 1e 00 84 02 00 5a 11 00 | 64 02 00 64 1f 00 84 01 |.....Z..|d..d....|
|00000110| 00 5a 12 00 64 02 00 64 | 02 00 64 20 00 84 02 00 |.Z..d..d|..d ....|
|00000120| 5a 13 00 64 02 00 64 02 | 00 64 02 00 64 21 00 84 |Z..d..d.|.d..d!..|
|00000130| 03 00 5a 14 00 64 02 00 | 64 02 00 64 22 00 84 02 |..Z..d..|d..d"...|
|00000140| 00 5a 15 00 64 02 00 64 | 02 00 64 23 00 84 02 00 |.Z..d..d|..d#....|
|00000150| 5a 16 00 64 24 00 84 00 | 00 5a 17 00 64 02 00 53 |Z..d$...|.Z..d..S|
|00000160| 28 25 00 00 00 73 40 00 | 00 00 45 78 74 72 61 63 |(%...s@.|..Extrac|
|00000170| 74 2c 20 66 6f 72 6d 61 | 74 20 61 6e 64 20 70 72 |t, forma|t and pr|
|00000180| 69 6e 74 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |int info|rmation |
|00000190| 61 62 6f 75 74 20 50 79 | 74 68 6f 6e 20 73 74 61 |about Py|thon sta|
|000001a0| 63 6b 20 74 72 61 63 65 | 73 2e 69 ff ff ff ff 4e |ck trace|s.i....N|
|000001b0| 74 0d 00 00 00 65 78 74 | 72 61 63 74 5f 73 74 61 |t....ext|ract_sta|
|000001c0| 63 6b 74 0a 00 00 00 65 | 78 74 72 61 63 74 5f 74 |ckt....e|xtract_t|
|000001d0| 62 74 10 00 00 00 66 6f | 72 6d 61 74 5f 65 78 63 |bt....fo|rmat_exc|
|000001e0| 65 70 74 69 6f 6e 74 15 | 00 00 00 66 6f 72 6d 61 |eptiont.|...forma|
|000001f0| 74 5f 65 78 63 65 70 74 | 69 6f 6e 5f 6f 6e 6c 79 |t_except|ion_only|
|00000200| 74 0b 00 00 00 66 6f 72 | 6d 61 74 5f 6c 69 73 74 |t....for|mat_list|
|00000210| 74 0c 00 00 00 66 6f 72 | 6d 61 74 5f 73 74 61 63 |t....for|mat_stac|
|00000220| 6b 74 09 00 00 00 66 6f | 72 6d 61 74 5f 74 62 74 |kt....fo|rmat_tbt|
|00000230| 09 00 00 00 70 72 69 6e | 74 5f 65 78 63 74 0a 00 |....prin|t_exct..|
|00000240| 00 00 66 6f 72 6d 61 74 | 5f 65 78 63 74 0f 00 00 |..format|_exct...|
|00000250| 00 70 72 69 6e 74 5f 65 | 78 63 65 70 74 69 6f 6e |.print_e|xception|
|00000260| 74 0a 00 00 00 70 72 69 | 6e 74 5f 6c 61 73 74 74 |t....pri|nt_lastt|
|00000270| 0b 00 00 00 70 72 69 6e | 74 5f 73 74 61 63 6b 74 |....prin|t_stackt|
|00000280| 08 00 00 00 70 72 69 6e | 74 5f 74 62 74 09 00 00 |....prin|t_tbt...|
|00000290| 00 74 62 5f 6c 69 6e 65 | 6e 6f 74 00 00 00 00 73 |.tb_line|not....s|
|000002a0| 01 00 00 00 0a 63 03 00 | 00 00 03 00 00 00 03 00 |.....c..|........|
|000002b0| 00 00 43 00 00 00 73 15 | 00 00 00 7c 00 00 69 00 |..C...s.|...|..i.|
|000002c0| 00 7c 01 00 7c 02 00 17 | 83 01 00 01 64 00 00 53 |.|..|...|....d..S|
|000002d0| 28 01 00 00 00 4e 28 01 | 00 00 00 74 05 00 00 00 |(....N(.|...t....|
|000002e0| 77 72 69 74 65 28 03 00 | 00 00 74 04 00 00 00 66 |write(..|..t....f|
|000002f0| 69 6c 65 74 03 00 00 00 | 73 74 72 74 0a 00 00 00 |ilet....|strt....|
|00000300| 74 65 72 6d 69 6e 61 74 | 6f 72 28 00 00 00 00 28 |terminat|or(....(|
|00000310| 00 00 00 00 73 0d 00 00 | 00 74 72 61 63 65 62 61 |....s...|.traceba|
|00000320| 63 6b 2e 70 79 63 74 06 | 00 00 00 5f 70 72 69 6e |ck.pyct.|..._prin|
|00000330| 74 0c 00 00 00 73 02 00 | 00 00 00 01 63 02 00 00 |t....s..|....c...|
|00000340| 00 06 00 00 00 07 00 00 | 00 43 00 00 00 73 77 00 |........|.C...sw.|
|00000350| 00 00 7c 01 00 64 03 00 | 6a 08 00 6f 0d 00 01 74 |..|..d..|j..o...t|
|00000360| 01 00 69 02 00 7d 01 00 | 6e 01 00 01 78 56 00 7c |..i..}..|n...xV.||
|00000370| 00 00 44 5d 4e 00 5c 04 | 00 7d 02 00 7d 03 00 7d |..D]N.\.|.}..}..}|
|00000380| 04 00 7d 05 00 74 03 00 | 7c 01 00 64 01 00 7c 02 |..}..t..||..d..|.|
|00000390| 00 7c 03 00 7c 04 00 66 | 03 00 16 83 02 00 01 7c |.|..|..f|.......||
|000003a0| 05 00 6f 1b 00 01 74 03 | 00 7c 01 00 64 02 00 7c |..o...t.|.|..d..||
|000003b0| 05 00 69 04 00 83 00 00 | 16 83 02 00 01 71 21 00 |..i.....|.....q!.|
|000003c0| 01 71 21 00 57 64 03 00 | 53 28 04 00 00 00 73 79 |.q!.Wd..|S(....sy|
|000003d0| 00 00 00 50 72 69 6e 74 | 20 74 68 65 20 6c 69 73 |...Print| the lis|
|000003e0| 74 20 6f 66 20 74 75 70 | 6c 65 73 20 61 73 20 72 |t of tup|les as r|
|000003f0| 65 74 75 72 6e 65 64 20 | 62 79 20 65 78 74 72 61 |eturned |by extra|
|00000400| 63 74 5f 74 62 28 29 20 | 6f 72 0a 20 20 20 20 65 |ct_tb() |or. e|
|00000410| 78 74 72 61 63 74 5f 73 | 74 61 63 6b 28 29 20 61 |xtract_s|tack() a|
|00000420| 73 20 61 20 66 6f 72 6d | 61 74 74 65 64 20 73 74 |s a form|atted st|
|00000430| 61 63 6b 20 74 72 61 63 | 65 20 74 6f 20 74 68 65 |ack trac|e to the|
|00000440| 20 67 69 76 65 6e 20 66 | 69 6c 65 2e 73 1b 00 00 | given f|ile.s...|
|00000450| 00 20 20 46 69 6c 65 20 | 22 25 73 22 2c 20 6c 69 |. File |"%s", li|
|00000460| 6e 65 20 25 64 2c 20 69 | 6e 20 25 73 73 06 00 00 |ne %d, i|n %ss...|
|00000470| 00 20 20 20 20 25 73 4e | 28 05 00 00 00 74 04 00 |. %sN|(....t..|
|00000480| 00 00 4e 6f 6e 65 74 03 | 00 00 00 73 79 73 74 06 |..Nonet.|...syst.|
|00000490| 00 00 00 73 74 64 65 72 | 72 52 13 00 00 00 74 05 |...stder|rR....t.|
|000004a0| 00 00 00 73 74 72 69 70 | 28 06 00 00 00 74 0e 00 |...strip|(....t..|
|000004b0| 00 00 65 78 74 72 61 63 | 74 65 64 5f 6c 69 73 74 |..extrac|ted_list|
|000004c0| 52 10 00 00 00 74 08 00 | 00 00 66 69 6c 65 6e 61 |R....t..|..filena|
|000004d0| 6d 65 74 06 00 00 00 6c | 69 6e 65 6e 6f 74 04 00 |met....l|inenot..|
|000004e0| 00 00 6e 61 6d 65 74 04 | 00 00 00 6c 69 6e 65 28 |..namet.|...line(|
|000004f0| 00 00 00 00 28 00 00 00 | 00 73 0d 00 00 00 74 72 |....(...|.s....tr|
|00000500| 61 63 65 62 61 63 6b 2e | 70 79 63 74 0a 00 00 00 |aceback.|pyct....|
|00000510| 70 72 69 6e 74 5f 6c 69 | 73 74 10 00 00 00 73 10 |print_li|st....s.|
|00000520| 00 00 00 00 03 0d 01 0d | 01 07 00 12 01 06 01 14 |........|........|
|00000530| 01 07 01 63 01 00 00 00 | 07 00 00 00 05 00 00 00 |...c....|........|
|00000540| 43 00 00 00 73 66 00 00 | 00 67 00 00 7d 01 00 78 |C...sf..|.g..}..x|
|00000550| 59 00 7c 00 00 44 5d 51 | 00 5c 04 00 7d 02 00 7d |Y.|..D]Q|.\..}..}|
|00000560| 03 00 7d 04 00 7d 05 00 | 64 01 00 7c 02 00 7c 03 |..}..}..|d..|..|.|
|00000570| 00 7c 04 00 66 03 00 16 | 7d 06 00 7c 05 00 6f 18 |.|..f...|}..|..o.|
|00000580| 00 01 7c 06 00 64 02 00 | 7c 05 00 69 00 00 83 00 |..|..d..||..i....|
|00000590| 00 16 17 7d 06 00 6e 01 | 00 01 7c 01 00 69 01 00 |...}..n.|..|..i..|
|000005a0| 7c 06 00 83 01 00 01 71 | 0d 00 57 7c 01 00 53 28 ||......q|..W|..S(|
|000005b0| 03 00 00 00 73 b2 01 00 | 00 46 6f 72 6d 61 74 20 |....s...|.Format |
|000005c0| 61 20 6c 69 73 74 20 6f | 66 20 74 72 61 63 65 62 |a list o|f traceb|
|000005d0| 61 63 6b 20 65 6e 74 72 | 79 20 74 75 70 6c 65 73 |ack entr|y tuples|
|000005e0| 20 66 6f 72 20 70 72 69 | 6e 74 69 6e 67 2e 0a 0a | for pri|nting...|
|000005f0| 20 20 20 20 47 69 76 65 | 6e 20 61 20 6c 69 73 74 | Give|n a list|
|00000600| 20 6f 66 20 74 75 70 6c | 65 73 20 61 73 20 72 65 | of tupl|es as re|
|00000610| 74 75 72 6e 65 64 20 62 | 79 20 65 78 74 72 61 63 |turned b|y extrac|
|00000620| 74 5f 74 62 28 29 20 6f | 72 0a 20 20 20 20 65 78 |t_tb() o|r. ex|
|00000630| 74 72 61 63 74 5f 73 74 | 61 63 6b 28 29 2c 20 72 |tract_st|ack(), r|
|00000640| 65 74 75 72 6e 20 61 20 | 6c 69 73 74 20 6f 66 20 |eturn a |list of |
|00000650| 73 74 72 69 6e 67 73 20 | 72 65 61 64 79 20 66 6f |strings |ready fo|
|00000660| 72 20 70 72 69 6e 74 69 | 6e 67 2e 0a 20 20 20 20 |r printi|ng.. |
|00000670| 45 61 63 68 20 73 74 72 | 69 6e 67 20 69 6e 20 74 |Each str|ing in t|
|00000680| 68 65 20 72 65 73 75 6c | 74 69 6e 67 20 6c 69 73 |he resul|ting lis|
|00000690| 74 20 63 6f 72 72 65 73 | 70 6f 6e 64 73 20 74 6f |t corres|ponds to|
|000006a0| 20 74 68 65 20 69 74 65 | 6d 20 77 69 74 68 20 74 | the ite|m with t|
|000006b0| 68 65 0a 20 20 20 20 73 | 61 6d 65 20 69 6e 64 65 |he. s|ame inde|
|000006c0| 78 20 69 6e 20 74 68 65 | 20 61 72 67 75 6d 65 6e |x in the| argumen|
|000006d0| 74 20 6c 69 73 74 2e 20 | 20 45 61 63 68 20 73 74 |t list. | Each st|
|000006e0| 72 69 6e 67 20 65 6e 64 | 73 20 69 6e 20 61 20 6e |ring end|s in a n|
|000006f0| 65 77 6c 69 6e 65 3b 0a | 20 20 20 20 74 68 65 20 |ewline;.| the |
|00000700| 73 74 72 69 6e 67 73 20 | 6d 61 79 20 63 6f 6e 74 |strings |may cont|
|00000710| 61 69 6e 20 69 6e 74 65 | 72 6e 61 6c 20 6e 65 77 |ain inte|rnal new|
|00000720| 6c 69 6e 65 73 20 61 73 | 20 77 65 6c 6c 2c 20 66 |lines as| well, f|
|00000730| 6f 72 20 74 68 6f 73 65 | 20 69 74 65 6d 73 0a 20 |or those| items. |
|00000740| 20 20 20 77 68 6f 73 65 | 20 73 6f 75 72 63 65 20 | whose| source |
|00000750| 74 65 78 74 20 6c 69 6e | 65 20 69 73 20 6e 6f 74 |text lin|e is not|
|00000760| 20 4e 6f 6e 65 2e 0a 20 | 20 20 20 73 1c 00 00 00 | None.. | s....|
|00000770| 20 20 46 69 6c 65 20 22 | 25 73 22 2c 20 6c 69 6e | File "|%s", lin|
|00000780| 65 20 25 64 2c 20 69 6e | 20 25 73 0a 73 07 00 00 |e %d, in| %s.s...|
|00000790| 00 20 20 20 20 25 73 0a | 28 02 00 00 00 52 17 00 |. %s.|(....R..|
|000007a0| 00 00 74 06 00 00 00 61 | 70 70 65 6e 64 28 07 00 |..t....a|ppend(..|
|000007b0| 00 00 52 18 00 00 00 74 | 04 00 00 00 6c 69 73 74 |..R....t|....list|
|000007c0| 52 19 00 00 00 52 1a 00 | 00 00 52 1b 00 00 00 52 |R....R..|..R....R|
|000007d0| 1c 00 00 00 74 04 00 00 | 00 69 74 65 6d 28 00 00 |....t...|.item(..|
|000007e0| 00 00 28 00 00 00 00 73 | 0d 00 00 00 74 72 61 63 |..(....s|....trac|
|000007f0| 65 62 61 63 6b 2e 70 79 | 63 52 04 00 00 00 1b 00 |eback.py|cR......|
|00000800| 00 00 73 10 00 00 00 00 | 0a 06 01 07 00 12 01 13 |..s.....|........|
|00000810| 01 07 01 18 01 11 01 63 | 03 00 00 00 0a 00 00 00 |.......c|........|
|00000820| 06 00 00 00 43 00 00 00 | 73 22 01 00 00 7c 02 00 |....C...|s"...|..|
|00000830| 64 06 00 6a 08 00 6f 0d | 00 01 74 01 00 69 02 00 |d..j..o.|..t..i..|
|00000840| 7d 02 00 6e 01 00 01 7c | 01 00 64 06 00 6a 08 00 |}..n...||..d..j..|
|00000850| 6f 21 00 01 74 03 00 74 | 01 00 64 01 00 83 02 00 |o!..t..t|..d.....|
|00000860| 6f 0d 00 01 74 01 00 69 | 04 00 7d 01 00 71 48 00 |o...t..i|..}..qH.|
|00000870| 01 6e 01 00 01 64 02 00 | 7d 03 00 78 cd 00 7c 00 |.n...d..|}..x..|.|
|00000880| 00 64 06 00 6a 09 00 6f | bf 00 01 7c 01 00 64 06 |.d..j..o|...|..d.|
|00000890| 00 6a 08 00 70 0d 00 01 | 7c 03 00 7c 01 00 6a 00 |.j..p...||..|..j.|
|000008a0| 00 6f a5 00 01 7c 00 00 | 69 05 00 7d 04 00 7c 00 |.o...|..|i..}..|.|
|000008b0| 00 69 06 00 7d 05 00 7c | 04 00 69 07 00 7d 06 00 |.i..}..||..i..}..|
|000008c0| 7c 06 00 69 08 00 7d 07 | 00 7c 06 00 69 09 00 7d ||..i..}.|.|..i..}|
|000008d0| 08 00 74 0a 00 7c 02 00 | 64 03 00 7c 07 00 7c 05 |..t..|..|d..|..|.|
|000008e0| 00 7c 08 00 66 03 00 16 | 83 02 00 01 74 0b 00 69 |.|..f...|....t..i|
|000008f0| 0c 00 7c 07 00 83 01 00 | 01 74 0b 00 69 0d 00 7c |..|.....|.t..i..||
|00000900| 07 00 7c 05 00 7c 04 00 | 69 0e 00 83 03 00 7d 09 |..|..|..|i.....}.|
|00000910| 00 7c 09 00 6f 1b 00 01 | 74 0a 00 7c 02 00 64 04 |.|..o...|t..|..d.|
|00000920| 00 7c 09 00 69 0f 00 83 | 00 00 17 83 02 00 01 6e |.|..i...|.......n|
|00000930| 01 00 01 7c 00 00 69 10 | 00 7d 00 00 7c 03 00 64 |...|..i.|.}..|..d|
|00000940| 05 00 17 7d 03 00 71 51 | 00 01 57 64 06 00 53 28 |...}..qQ|..Wd..S(|
|00000950| 07 00 00 00 73 1f 01 00 | 00 50 72 69 6e 74 20 75 |....s...|.Print u|
|00000960| 70 20 74 6f 20 27 6c 69 | 6d 69 74 27 20 73 74 61 |p to 'li|mit' sta|
|00000970| 63 6b 20 74 72 61 63 65 | 20 65 6e 74 72 69 65 73 |ck trace| entries|
|00000980| 20 66 72 6f 6d 20 74 68 | 65 20 74 72 61 63 65 62 | from th|e traceb|
|00000990| 61 63 6b 20 27 74 62 27 | 2e 0a 0a 20 20 20 20 49 |ack 'tb'|... I|
|000009a0| 66 20 27 6c 69 6d 69 74 | 27 20 69 73 20 6f 6d 69 |f 'limit|' is omi|
|000009b0| 74 74 65 64 20 6f 72 20 | 4e 6f 6e 65 2c 20 61 6c |tted or |None, al|
|000009c0| 6c 20 65 6e 74 72 69 65 | 73 20 61 72 65 20 70 72 |l entrie|s are pr|
|000009d0| 69 6e 74 65 64 2e 20 20 | 49 66 20 27 66 69 6c 65 |inted. |If 'file|
|000009e0| 27 0a 20 20 20 20 69 73 | 20 6f 6d 69 74 74 65 64 |'. is| omitted|
|000009f0| 20 6f 72 20 4e 6f 6e 65 | 2c 20 74 68 65 20 6f 75 | or None|, the ou|
|00000a00| 74 70 75 74 20 67 6f 65 | 73 20 74 6f 20 73 79 73 |tput goe|s to sys|
|00000a10| 2e 73 74 64 65 72 72 3b | 20 6f 74 68 65 72 77 69 |.stderr;| otherwi|
|00000a20| 73 65 0a 20 20 20 20 27 | 66 69 6c 65 27 20 73 68 |se. '|file' sh|
|00000a30| 6f 75 6c 64 20 62 65 20 | 61 6e 20 6f 70 65 6e 20 |ould be |an open |
|00000a40| 66 69 6c 65 20 6f 72 20 | 66 69 6c 65 2d 6c 69 6b |file or |file-lik|
|00000a50| 65 20 6f 62 6a 65 63 74 | 20 77 69 74 68 20 61 20 |e object| with a |
|00000a60| 77 72 69 74 65 28 29 0a | 20 20 20 20 6d 65 74 68 |write().| meth|
|00000a70| 6f 64 2e 0a 20 20 20 20 | 74 0e 00 00 00 74 72 61 |od.. |t....tra|
|00000a80| 63 65 62 61 63 6b 6c 69 | 6d 69 74 69 00 00 00 00 |cebackli|miti....|
|00000a90| 73 1b 00 00 00 20 20 46 | 69 6c 65 20 22 25 73 22 |s.... F|ile "%s"|
|00000aa0| 2c 20 6c 69 6e 65 20 25 | 64 2c 20 69 6e 20 25 73 |, line %|d, in %s|
|00000ab0| 73 04 00 00 00 20 20 20 | 20 69 01 00 00 00 4e 28 |s.... | i....N(|
|00000ac0| 11 00 00 00 52 14 00 00 | 00 52 15 00 00 00 52 16 |....R...|.R....R.|
|00000ad0| 00 00 00 74 07 00 00 00 | 68 61 73 61 74 74 72 52 |...t....|hasattrR|
|00000ae0| 21 00 00 00 74 08 00 00 | 00 74 62 5f 66 72 61 6d |!...t...|.tb_fram|
|00000af0| 65 52 0d 00 00 00 74 06 | 00 00 00 66 5f 63 6f 64 |eR....t.|...f_cod|
|00000b00| 65 74 0b 00 00 00 63 6f | 5f 66 69 6c 65 6e 61 6d |et....co|_filenam|
|00000b10| 65 74 07 00 00 00 63 6f | 5f 6e 61 6d 65 52 13 00 |et....co|_nameR..|
|00000b20| 00 00 74 09 00 00 00 6c | 69 6e 65 63 61 63 68 65 |..t....l|inecache|
|00000b30| 74 0a 00 00 00 63 68 65 | 63 6b 63 61 63 68 65 74 |t....che|ckcachet|
|00000b40| 07 00 00 00 67 65 74 6c | 69 6e 65 74 09 00 00 00 |....getl|inet....|
|00000b50| 66 5f 67 6c 6f 62 61 6c | 73 52 17 00 00 00 74 07 |f_global|sR....t.|
|00000b60| 00 00 00 74 62 5f 6e 65 | 78 74 28 0a 00 00 00 74 |...tb_ne|xt(....t|
|00000b70| 02 00 00 00 74 62 74 05 | 00 00 00 6c 69 6d 69 74 |....tbt.|...limit|
|00000b80| 52 10 00 00 00 74 01 00 | 00 00 6e 74 01 00 00 00 |R....t..|..nt....|
|00000b90| 66 52 1a 00 00 00 74 02 | 00 00 00 63 6f 52 19 00 |fR....t.|...coR..|
|00000ba0| 00 00 52 1b 00 00 00 52 | 1c 00 00 00 28 00 00 00 |..R....R|....(...|
|00000bb0| 00 28 00 00 00 00 73 0d | 00 00 00 74 72 61 63 65 |.(....s.|...trace|
|00000bc0| 62 61 63 6b 2e 70 79 63 | 52 0c 00 00 00 2e 00 00 |back.pyc|R.......|
|00000bd0| 00 73 26 00 00 00 00 08 | 0d 01 0d 01 0d 01 10 01 |.s&.....|........|
|00000be0| 11 01 06 01 2a 01 09 01 | 09 01 09 01 09 01 09 01 |....*...|........|
|00000bf0| 06 01 14 01 0d 01 18 01 | 22 01 09 01 63 02 00 00 |........|"...c...|
|00000c00| 00 02 00 00 00 04 00 00 | 00 43 00 00 00 73 13 00 |........|.C...s..|
|00000c10| 00 00 74 00 00 74 01 00 | 7c 00 00 7c 01 00 83 02 |..t..t..||..|....|
|00000c20| 00 83 01 00 53 28 01 00 | 00 00 73 36 00 00 00 41 |....S(..|..s6...A|
|00000c30| 20 73 68 6f 72 74 68 61 | 6e 64 20 66 6f 72 20 27 | shortha|nd for '|
|00000c40| 66 6f 72 6d 61 74 5f 6c | 69 73 74 28 65 78 74 72 |format_l|ist(extr|
|00000c50| 61 63 74 5f 73 74 61 63 | 6b 28 66 2c 20 6c 69 6d |act_stac|k(f, lim|
|00000c60| 69 74 29 29 2e 28 02 00 | 00 00 52 04 00 00 00 52 |it)).(..|..R....R|
|00000c70| 01 00 00 00 28 02 00 00 | 00 52 2c 00 00 00 52 2d |....(...|.R,...R-|
|00000c80| 00 00 00 28 00 00 00 00 | 28 00 00 00 00 73 0d 00 |...(....|(....s..|
|00000c90| 00 00 74 72 61 63 65 62 | 61 63 6b 2e 70 79 63 52 |..traceb|ack.pycR|
|00000ca0| 06 00 00 00 4a 00 00 00 | 73 02 00 00 00 00 02 63 |....J...|s......c|
|00000cb0| 02 00 00 00 0a 00 00 00 | 05 00 00 00 43 00 00 00 |........|....C...|
|00000cc0| 73 08 01 00 00 7c 01 00 | 74 00 00 6a 08 00 6f 21 |s....|..|t..j..o!|
|00000cd0| 00 01 74 01 00 74 02 00 | 64 01 00 83 02 00 6f 0d |..t..t..|d.....o.|
|00000ce0| 00 01 74 02 00 69 03 00 | 7d 01 00 71 2e 00 01 6e |..t..i..|}..q...n|
|00000cf0| 01 00 01 67 00 00 7d 02 | 00 64 02 00 7d 03 00 78 |...g..}.|.d..}..x|
|00000d00| c7 00 7c 00 00 74 00 00 | 6a 09 00 6f b9 00 01 7c |..|..t..|j..o...||
|00000d10| 01 00 74 00 00 6a 08 00 | 70 0d 00 01 7c 03 00 7c |..t..j..|p...|..||
|00000d20| 01 00 6a 00 00 6f 9f 00 | 01 7c 00 00 69 04 00 7d |..j..o..|.|..i..}|
|00000d30| 04 00 7c 00 00 69 05 00 | 7d 05 00 7c 04 00 69 06 |..|..i..|}..|..i.|
|00000d40| 00 7d 06 00 7c 06 00 69 | 07 00 7d 07 00 7c 06 00 |.}..|..i|..}..|..|
|00000d50| 69 08 00 7d 08 00 74 09 | 00 69 0a 00 7c 07 00 83 |i..}..t.|.i..|...|
|00000d60| 01 00 01 74 09 00 69 0b | 00 7c 07 00 7c 05 00 7c |...t..i.|.|..|..||
|00000d70| 04 00 69 0c 00 83 03 00 | 7d 09 00 7c 09 00 6f 10 |..i.....|}..|..o.|
|00000d80| 00 01 7c 09 00 69 0d 00 | 83 00 00 7d 09 00 6e 07 |..|..i..|...}..n.|
|00000d90| 00 01 74 00 00 7d 09 00 | 7c 02 00 69 0e 00 7c 07 |..t..}..||..i..|.|
|00000da0| 00 7c 05 00 7c 08 00 7c | 09 00 66 04 00 83 01 00 |.|..|..||..f.....|
|00000db0| 01 7c 00 00 69 0f 00 7d | 00 00 7c 03 00 64 03 00 |.|..i..}|..|..d..|
|00000dc0| 17 7d 03 00 71 3d 00 01 | 57 7c 02 00 53 28 04 00 |.}..q=..|W|..S(..|
|00000dd0| 00 00 73 ed 01 00 00 52 | 65 74 75 72 6e 20 6c 69 |..s....R|eturn li|
|00000de0| 73 74 20 6f 66 20 75 70 | 20 74 6f 20 6c 69 6d 69 |st of up| to limi|
|00000df0| 74 20 70 72 65 2d 70 72 | 6f 63 65 73 73 65 64 20 |t pre-pr|ocessed |
|00000e00| 65 6e 74 72 69 65 73 20 | 66 72 6f 6d 20 74 72 61 |entries |from tra|
|00000e10| 63 65 62 61 63 6b 2e 0a | 0a 20 20 20 20 54 68 69 |ceback..|. Thi|
|00000e20| 73 20 69 73 20 75 73 65 | 66 75 6c 20 66 6f 72 20 |s is use|ful for |
|00000e30| 61 6c 74 65 72 6e 61 74 | 65 20 66 6f 72 6d 61 74 |alternat|e format|
|00000e40| 74 69 6e 67 20 6f 66 20 | 73 74 61 63 6b 20 74 72 |ting of |stack tr|
|00000e50| 61 63 65 73 2e 20 20 49 | 66 0a 20 20 20 20 27 6c |aces. I|f. 'l|
|00000e60| 69 6d 69 74 27 20 69 73 | 20 6f 6d 69 74 74 65 64 |imit' is| omitted|
|00000e70| 20 6f 72 20 4e 6f 6e 65 | 2c 20 61 6c 6c 20 65 6e | or None|, all en|
|00000e80| 74 72 69 65 73 20 61 72 | 65 20 65 78 74 72 61 63 |tries ar|e extrac|
|00000e90| 74 65 64 2e 20 20 41 0a | 20 20 20 20 70 72 65 2d |ted. A.| pre-|
|00000ea0| 70 72 6f 63 65 73 73 65 | 64 20 73 74 61 63 6b 20 |processe|d stack |
|00000eb0| 74 72 61 63 65 20 65 6e | 74 72 79 20 69 73 20 61 |trace en|try is a|
|00000ec0| 20 71 75 61 64 72 75 70 | 6c 65 20 28 66 69 6c 65 | quadrup|le (file|
|00000ed0| 6e 61 6d 65 2c 20 6c 69 | 6e 65 0a 20 20 20 20 6e |name, li|ne. n|
|00000ee0| 75 6d 62 65 72 2c 20 66 | 75 6e 63 74 69 6f 6e 20 |umber, f|unction |
|00000ef0| 6e 61 6d 65 2c 20 74 65 | 78 74 29 20 72 65 70 72 |name, te|xt) repr|
|00000f00| 65 73 65 6e 74 69 6e 67 | 20 74 68 65 20 69 6e 66 |esenting| the inf|
|00000f10| 6f 72 6d 61 74 69 6f 6e | 20 74 68 61 74 20 69 73 |ormation| that is|
|00000f20| 0a 20 20 20 20 75 73 75 | 61 6c 6c 79 20 70 72 69 |. usu|ally pri|
|00000f30| 6e 74 65 64 20 66 6f 72 | 20 61 20 73 74 61 63 6b |nted for| a stack|
|00000f40| 20 74 72 61 63 65 2e 20 | 20 54 68 65 20 74 65 78 | trace. | The tex|
|00000f50| 74 20 69 73 20 61 20 73 | 74 72 69 6e 67 20 77 69 |t is a s|tring wi|
|00000f60| 74 68 0a 20 20 20 20 6c | 65 61 64 69 6e 67 20 61 |th. l|eading a|
|00000f70| 6e 64 20 74 72 61 69 6c | 69 6e 67 20 77 68 69 74 |nd trail|ing whit|
|00000f80| 65 73 70 61 63 65 20 73 | 74 72 69 70 70 65 64 3b |espace s|tripped;|
|00000f90| 20 69 66 20 74 68 65 20 | 73 6f 75 72 63 65 20 69 | if the |source i|
|00000fa0| 73 20 6e 6f 74 0a 20 20 | 20 20 61 76 61 69 6c 61 |s not. | availa|
|00000fb0| 62 6c 65 20 69 74 20 69 | 73 20 4e 6f 6e 65 2e 0a |ble it i|s None..|
|00000fc0| 20 20 20 20 52 21 00 00 | 00 69 00 00 00 00 69 01 | R!..|.i....i.|
|00000fd0| 00 00 00 28 10 00 00 00 | 52 14 00 00 00 52 22 00 |...(....|R....R".|
|00000fe0| 00 00 52 15 00 00 00 52 | 21 00 00 00 52 23 00 00 |..R....R|!...R#..|
|00000ff0| 00 52 0d 00 00 00 52 24 | 00 00 00 52 25 00 00 00 |.R....R$|...R%...|
|00001000| 52 26 00 00 00 52 27 00 | 00 00 52 28 00 00 00 52 |R&...R'.|..R(...R|
|00001010| 29 00 00 00 52 2a 00 00 | 00 52 17 00 00 00 52 1e |)...R*..|.R....R.|
|00001020| 00 00 00 52 2b 00 00 00 | 28 0a 00 00 00 52 2c 00 |...R+...|(....R,.|
|00001030| 00 00 52 2d 00 00 00 52 | 1f 00 00 00 52 2e 00 00 |..R-...R|....R...|
|00001040| 00 52 2f 00 00 00 52 1a | 00 00 00 52 30 00 00 00 |.R/...R.|...R0...|
|00001050| 52 19 00 00 00 52 1b 00 | 00 00 52 1c 00 00 00 28 |R....R..|..R....(|
|00001060| 00 00 00 00 28 00 00 00 | 00 73 0d 00 00 00 74 72 |....(...|.s....tr|
|00001070| 61 63 65 62 61 63 6b 2e | 70 79 63 52 01 00 00 00 |aceback.|pycR....|
|00001080| 4e 00 00 00 73 26 00 00 | 00 00 0b 0d 01 10 01 11 |N...s&..|........|
|00001090| 01 06 01 06 01 2a 01 09 | 01 09 01 09 01 09 01 09 |.....*..|........|
|000010a0| 01 0d 01 18 01 17 01 06 | 01 19 01 09 01 0f 01 63 |........|.......c|
|000010b0| 05 00 00 00 07 00 00 00 | 07 00 00 00 43 00 00 00 |........|....C...|
|000010c0| 73 8e 00 00 00 7c 04 00 | 64 05 00 6a 08 00 6f 0d |s....|..|d..j..o.|
|000010d0| 00 01 74 01 00 69 02 00 | 7d 04 00 6e 01 00 01 7c |..t..i..|}..n...||
|000010e0| 02 00 6f 21 00 01 74 03 | 00 7c 04 00 64 01 00 83 |..o!..t.|.|..d...|
|000010f0| 02 00 01 74 04 00 7c 02 | 00 7c 03 00 7c 04 00 83 |...t..|.|.|..|...|
|00001100| 03 00 01 6e 01 00 01 74 | 05 00 7c 00 00 7c 01 00 |...n...t|..|..|..|
|00001110| 83 02 00 7d 05 00 78 22 | 00 7c 05 00 64 02 00 20 |...}..x"|.|..d.. |
|00001120| 44 5d 16 00 7d 06 00 74 | 03 00 7c 04 00 7c 06 00 |D]..}..t|..|..|..|
|00001130| 64 03 00 83 03 00 01 71 | 5c 00 57 74 03 00 7c 04 |d......q|\.Wt..|.|
|00001140| 00 7c 05 00 64 02 00 19 | 64 04 00 83 03 00 01 64 |.|..d...|d......d|
|00001150| 05 00 53 28 06 00 00 00 | 73 f9 01 00 00 50 72 69 |..S(....|s....Pri|
|00001160| 6e 74 20 65 78 63 65 70 | 74 69 6f 6e 20 75 70 20 |nt excep|tion up |
|00001170| 74 6f 20 27 6c 69 6d 69 | 74 27 20 73 74 61 63 6b |to 'limi|t' stack|
|00001180| 20 74 72 61 63 65 20 65 | 6e 74 72 69 65 73 20 66 | trace e|ntries f|
|00001190| 72 6f 6d 20 27 74 62 27 | 20 74 6f 20 27 66 69 6c |rom 'tb'| to 'fil|
|000011a0| 65 27 2e 0a 0a 20 20 20 | 20 54 68 69 73 20 64 69 |e'... | This di|
|000011b0| 66 66 65 72 73 20 66 72 | 6f 6d 20 70 72 69 6e 74 |ffers fr|om print|
|000011c0| 5f 74 62 28 29 20 69 6e | 20 74 68 65 20 66 6f 6c |_tb() in| the fol|
|000011d0| 6c 6f 77 69 6e 67 20 77 | 61 79 73 3a 20 28 31 29 |lowing w|ays: (1)|
|000011e0| 20 69 66 0a 20 20 20 20 | 74 72 61 63 65 62 61 63 | if. |tracebac|
|000011f0| 6b 20 69 73 20 6e 6f 74 | 20 4e 6f 6e 65 2c 20 69 |k is not| None, i|
|00001200| 74 20 70 72 69 6e 74 73 | 20 61 20 68 65 61 64 65 |t prints| a heade|
|00001210| 72 20 22 54 72 61 63 65 | 62 61 63 6b 20 28 6d 6f |r "Trace|back (mo|
|00001220| 73 74 20 72 65 63 65 6e | 74 0a 20 20 20 20 63 61 |st recen|t. ca|
|00001230| 6c 6c 20 6c 61 73 74 29 | 3a 22 3b 20 28 32 29 20 |ll last)|:"; (2) |
|00001240| 69 74 20 70 72 69 6e 74 | 73 20 74 68 65 20 65 78 |it print|s the ex|
|00001250| 63 65 70 74 69 6f 6e 20 | 74 79 70 65 20 61 6e 64 |ception |type and|
|00001260| 20 76 61 6c 75 65 20 61 | 66 74 65 72 20 74 68 65 | value a|fter the|
|00001270| 0a 20 20 20 20 73 74 61 | 63 6b 20 74 72 61 63 65 |. sta|ck trace|
|00001280| 3b 20 28 33 29 20 69 66 | 20 74 79 70 65 20 69 73 |; (3) if| type is|
|00001290| 20 53 79 6e 74 61 78 45 | 72 72 6f 72 20 61 6e 64 | SyntaxE|rror and|
|000012a0| 20 76 61 6c 75 65 20 68 | 61 73 20 74 68 65 0a 20 | value h|as the. |
|000012b0| 20 20 20 61 70 70 72 6f | 70 72 69 61 74 65 20 66 | appro|priate f|
|000012c0| 6f 72 6d 61 74 2c 20 69 | 74 20 70 72 69 6e 74 73 |ormat, i|t prints|
|000012d0| 20 74 68 65 20 6c 69 6e | 65 20 77 68 65 72 65 20 | the lin|e where |
|000012e0| 74 68 65 20 73 79 6e 74 | 61 78 20 65 72 72 6f 72 |the synt|ax error|
|000012f0| 0a 20 20 20 20 6f 63 63 | 75 72 72 65 64 20 77 69 |. occ|urred wi|
|00001300| 74 68 20 61 20 63 61 72 | 65 74 20 6f 6e 20 74 68 |th a car|et on th|
|00001310| 65 20 6e 65 78 74 20 6c | 69 6e 65 20 69 6e 64 69 |e next l|ine indi|
|00001320| 63 61 74 69 6e 67 20 74 | 68 65 20 61 70 70 72 6f |cating t|he appro|
|00001330| 78 69 6d 61 74 65 0a 20 | 20 20 20 70 6f 73 69 74 |ximate. | posit|
|00001340| 69 6f 6e 20 6f 66 20 74 | 68 65 20 65 72 72 6f 72 |ion of t|he error|
|00001350| 2e 0a 20 20 20 20 73 22 | 00 00 00 54 72 61 63 65 |.. s"|...Trace|
|00001360| 62 61 63 6b 20 28 6d 6f | 73 74 20 72 65 63 65 6e |back (mo|st recen|
|00001370| 74 20 63 61 6c 6c 20 6c | 61 73 74 29 3a 69 ff ff |t call l|ast):i..|
|00001380| ff ff 74 01 00 00 00 20 | 52 0e 00 00 00 4e 28 06 |..t.... |R....N(.|
|00001390| 00 00 00 52 14 00 00 00 | 52 15 00 00 00 52 16 00 |...R....|R....R..|
|000013a0| 00 00 52 13 00 00 00 52 | 0c 00 00 00 52 03 00 00 |..R....R|....R...|
|000013b0| 00 28 07 00 00 00 74 05 | 00 00 00 65 74 79 70 65 |.(....t.|...etype|
|000013c0| 74 05 00 00 00 76 61 6c | 75 65 52 2c 00 00 00 52 |t....val|ueR,...R|
|000013d0| 2d 00 00 00 52 10 00 00 | 00 74 05 00 00 00 6c 69 |-...R...|.t....li|
|000013e0| 6e 65 73 52 1c 00 00 00 | 28 00 00 00 00 28 00 00 |nesR....|(....(..|
|000013f0| 00 00 73 0d 00 00 00 74 | 72 61 63 65 62 61 63 6b |..s....t|raceback|
|00001400| 2e 70 79 63 52 09 00 00 | 00 6e 00 00 00 73 14 00 |.pycR...|.n...s..|
|00001410| 00 00 00 0b 0d 01 0d 01 | 07 01 0d 01 14 01 0f 01 |........|........|
|00001420| 0b 00 06 01 14 01 63 04 | 00 00 00 05 00 00 00 04 |......c.|........|
|00001430| 00 00 00 43 00 00 00 73 | 44 00 00 00 7c 02 00 6f |...C...s|D...|..o|
|00001440| 20 00 01 64 01 00 67 01 | 00 7d 04 00 7c 04 00 74 | ..d..g.|.}..|..t|
|00001450| 00 00 7c 02 00 7c 03 00 | 83 02 00 17 7d 04 00 6e |..|..|..|....}..n|
|00001460| 07 00 01 67 00 00 7d 04 | 00 7c 04 00 74 01 00 7c |...g..}.|.|..t..||
|00001470| 00 00 7c 01 00 83 02 00 | 17 7d 04 00 7c 04 00 53 |..|.....|.}..|..S|
|00001480| 28 02 00 00 00 73 7a 01 | 00 00 46 6f 72 6d 61 74 |(....sz.|..Format|
|00001490| 20 61 20 73 74 61 63 6b | 20 74 72 61 63 65 20 61 | a stack| trace a|
|000014a0| 6e 64 20 74 68 65 20 65 | 78 63 65 70 74 69 6f 6e |nd the e|xception|
|000014b0| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 2e 0a 0a 20 | informa|tion... |
|000014c0| 20 20 20 54 68 65 20 61 | 72 67 75 6d 65 6e 74 73 | The a|rguments|
|000014d0| 20 68 61 76 65 20 74 68 | 65 20 73 61 6d 65 20 6d | have th|e same m|
|000014e0| 65 61 6e 69 6e 67 20 61 | 73 20 74 68 65 20 63 6f |eaning a|s the co|
|000014f0| 72 72 65 73 70 6f 6e 64 | 69 6e 67 20 61 72 67 75 |rrespond|ing argu|
|00001500| 6d 65 6e 74 73 0a 20 20 | 20 20 74 6f 20 70 72 69 |ments. | to pri|
|00001510| 6e 74 5f 65 78 63 65 70 | 74 69 6f 6e 28 29 2e 20 |nt_excep|tion(). |
|00001520| 20 54 68 65 20 72 65 74 | 75 72 6e 20 76 61 6c 75 | The ret|urn valu|
|00001530| 65 20 69 73 20 61 20 6c | 69 73 74 20 6f 66 20 73 |e is a l|ist of s|
|00001540| 74 72 69 6e 67 73 2c 20 | 65 61 63 68 0a 20 20 20 |trings, |each. |
|00001550| 20 65 6e 64 69 6e 67 20 | 69 6e 20 61 20 6e 65 77 | ending |in a new|
|00001560| 6c 69 6e 65 20 61 6e 64 | 20 73 6f 6d 65 20 63 6f |line and| some co|
|00001570| 6e 74 61 69 6e 69 6e 67 | 20 69 6e 74 65 72 6e 61 |ntaining| interna|
|00001580| 6c 20 6e 65 77 6c 69 6e | 65 73 2e 20 20 57 68 65 |l newlin|es. Whe|
|00001590| 6e 0a 20 20 20 20 74 68 | 65 73 65 20 6c 69 6e 65 |n. th|ese line|
|000015a0| 73 20 61 72 65 20 63 6f | 6e 63 61 74 65 6e 61 74 |s are co|ncatenat|
|000015b0| 65 64 20 61 6e 64 20 70 | 72 69 6e 74 65 64 2c 20 |ed and p|rinted, |
|000015c0| 65 78 61 63 74 6c 79 20 | 74 68 65 20 73 61 6d 65 |exactly |the same|
|000015d0| 20 74 65 78 74 20 69 73 | 0a 20 20 20 20 70 72 69 | text is|. pri|
|000015e0| 6e 74 65 64 20 61 73 20 | 64 6f 65 73 20 70 72 69 |nted as |does pri|
|000015f0| 6e 74 5f 65 78 63 65 70 | 74 69 6f 6e 28 29 2e 0a |nt_excep|tion()..|
|00001600| 20 20 20 20 73 23 00 00 | 00 54 72 61 63 65 62 61 | s#..|.Traceba|
|00001610| 63 6b 20 28 6d 6f 73 74 | 20 72 65 63 65 6e 74 20 |ck (most| recent |
|00001620| 63 61 6c 6c 20 6c 61 73 | 74 29 3a 0a 28 02 00 00 |call las|t):.(...|
|00001630| 00 52 06 00 00 00 52 03 | 00 00 00 28 05 00 00 00 |.R....R.|...(....|
|00001640| 52 32 00 00 00 52 33 00 | 00 00 52 2c 00 00 00 52 |R2...R3.|..R,...R|
|00001650| 2d 00 00 00 52 1f 00 00 | 00 28 00 00 00 00 28 00 |-...R...|.(....(.|
|00001660| 00 00 00 73 0d 00 00 00 | 74 72 61 63 65 62 61 63 |...s....|tracebac|
|00001670| 6b 2e 70 79 63 52 02 00 | 00 00 83 00 00 00 73 0c |k.pycR..|......s.|
|00001680| 00 00 00 00 09 07 01 09 | 01 17 02 06 01 13 01 63 |........|.......c|
|00001690| 02 00 00 00 0a 00 00 00 | 08 00 00 00 43 00 00 00 |........|....C...|
|000016a0| 73 66 01 00 00 74 00 00 | 7c 00 00 74 01 00 83 02 |sf...t..||..t....|
|000016b0| 00 70 26 00 01 74 00 00 | 7c 00 00 74 02 00 69 03 |.p&..t..||..t..i.|
|000016c0| 00 83 02 00 70 13 00 01 | 74 04 00 7c 00 00 83 01 |....p...|t..|....|
|000016d0| 00 74 05 00 6a 08 00 6f | 14 00 01 74 06 00 7c 00 |.t..j..o|...t..|.|
|000016e0| 00 7c 01 00 83 02 00 67 | 01 00 53 6e 01 00 01 7c |.|.....g|..Sn...||
|000016f0| 00 00 69 07 00 7d 02 00 | 74 08 00 7c 00 00 74 09 |..i..}..|t..|..t.|
|00001700| 00 83 02 00 70 14 00 01 | 74 06 00 7c 02 00 7c 01 |....p...|t..|..|.|
|00001710| 00 83 02 00 67 01 00 53 | 6e 01 00 01 67 00 00 7d |....g..S|n...g..}|
|00001720| 03 00 79 1c 00 7c 01 00 | 5c 02 00 7d 04 00 5c 04 |..y..|..|\..}..\.|
|00001730| 00 7d 05 00 7d 06 00 7d | 07 00 7d 08 00 57 6e 13 |.}..}..}|..}..Wn.|
|00001740| 00 04 74 0a 00 6a 0a 00 | 6f 07 00 01 01 01 01 6e |..t..j..|o......n|
|00001750| 9f 00 01 58 7c 05 00 70 | 04 00 01 64 01 00 7d 05 |...X|..p|...d..}.|
|00001760| 00 7c 03 00 69 0b 00 64 | 02 00 7c 05 00 7c 06 00 |.|..i..d|..|..|..|
|00001770| 66 02 00 16 83 01 00 01 | 7c 08 00 74 0c 00 6a 09 |f.......||..t..j.|
|00001780| 00 6f 6c 00 01 7c 03 00 | 69 0b 00 64 03 00 7c 08 |.ol..|..|i..d..|.|
|00001790| 00 69 0d 00 83 00 00 16 | 83 01 00 01 7c 07 00 74 |.i......|....|..t|
|000017a0| 0c 00 6a 09 00 6f 3e 00 | 01 7c 08 00 7c 07 00 20 |..j..o>.|.|..|.. |
|000017b0| 69 0e 00 83 00 00 7d 09 | 00 64 04 00 84 00 00 7c |i.....}.|.d.....||
|000017c0| 09 00 44 83 01 00 7d 09 | 00 7c 03 00 69 0b 00 64 |..D...}.|.|..i..d|
|000017d0| 05 00 64 06 00 69 0f 00 | 7c 09 00 83 01 00 16 83 |..d..i..||.......|
|000017e0| 01 00 01 6e 01 00 01 7c | 04 00 7d 01 00 6e 01 00 |...n...||..}..n..|
|000017f0| 01 7c 03 00 69 0b 00 74 | 06 00 7c 02 00 7c 01 00 |.|..i..t|..|..|..|
|00001800| 83 02 00 83 01 00 01 7c | 03 00 53 28 07 00 00 00 |.......||..S(....|
|00001810| 73 14 02 00 00 46 6f 72 | 6d 61 74 20 74 68 65 20 |s....For|mat the |
|00001820| 65 78 63 65 70 74 69 6f | 6e 20 70 61 72 74 20 6f |exceptio|n part o|
|00001830| 66 20 61 20 74 72 61 63 | 65 62 61 63 6b 2e 0a 0a |f a trac|eback...|
|00001840| 20 20 20 20 54 68 65 20 | 61 72 67 75 6d 65 6e 74 | The |argument|
|00001850| 73 20 61 72 65 20 74 68 | 65 20 65 78 63 65 70 74 |s are th|e except|
|00001860| 69 6f 6e 20 74 79 70 65 | 20 61 6e 64 20 76 61 6c |ion type| and val|
|00001870| 75 65 20 73 75 63 68 20 | 61 73 20 67 69 76 65 6e |ue such |as given|
|00001880| 20 62 79 0a 20 20 20 20 | 73 79 73 2e 6c 61 73 74 | by. |sys.last|
|00001890| 5f 74 79 70 65 20 61 6e | 64 20 73 79 73 2e 6c 61 |_type an|d sys.la|
|000018a0| 73 74 5f 76 61 6c 75 65 | 2e 20 54 68 65 20 72 65 |st_value|. The re|
|000018b0| 74 75 72 6e 20 76 61 6c | 75 65 20 69 73 20 61 20 |turn val|ue is a |
|000018c0| 6c 69 73 74 20 6f 66 0a | 20 20 20 20 73 74 72 69 |list of.| stri|
|000018d0| 6e 67 73 2c 20 65 61 63 | 68 20 65 6e 64 69 6e 67 |ngs, eac|h ending|
|000018e0| 20 69 6e 20 61 20 6e 65 | 77 6c 69 6e 65 2e 0a 0a | in a ne|wline...|
|000018f0| 20 20 20 20 4e 6f 72 6d | 61 6c 6c 79 2c 20 74 68 | Norm|ally, th|
|00001900| 65 20 6c 69 73 74 20 63 | 6f 6e 74 61 69 6e 73 20 |e list c|ontains |
|00001910| 61 20 73 69 6e 67 6c 65 | 20 73 74 72 69 6e 67 3b |a single| string;|
|00001920| 20 68 6f 77 65 76 65 72 | 2c 20 66 6f 72 0a 20 20 | however|, for. |
|00001930| 20 20 53 79 6e 74 61 78 | 45 72 72 6f 72 20 65 78 | Syntax|Error ex|
|00001940| 63 65 70 74 69 6f 6e 73 | 2c 20 69 74 20 63 6f 6e |ceptions|, it con|
|00001950| 74 61 69 6e 73 20 73 65 | 76 65 72 61 6c 20 6c 69 |tains se|veral li|
|00001960| 6e 65 73 20 74 68 61 74 | 20 28 77 68 65 6e 0a 20 |nes that| (when. |
|00001970| 20 20 20 70 72 69 6e 74 | 65 64 29 20 64 69 73 70 | print|ed) disp|
|00001980| 6c 61 79 20 64 65 74 61 | 69 6c 65 64 20 69 6e 66 |lay deta|iled inf|
|00001990| 6f 72 6d 61 74 69 6f 6e | 20 61 62 6f 75 74 20 77 |ormation| about w|
|000019a0| 68 65 72 65 20 74 68 65 | 20 73 79 6e 74 61 78 0a |here the| syntax.|
|000019b0| 20 20 20 20 65 72 72 6f | 72 20 6f 63 63 75 72 72 | erro|r occurr|
|000019c0| 65 64 2e 0a 0a 20 20 20 | 20 54 68 65 20 6d 65 73 |ed... | The mes|
|000019d0| 73 61 67 65 20 69 6e 64 | 69 63 61 74 69 6e 67 20 |sage ind|icating |
|000019e0| 77 68 69 63 68 20 65 78 | 63 65 70 74 69 6f 6e 20 |which ex|ception |
|000019f0| 6f 63 63 75 72 72 65 64 | 20 69 73 20 61 6c 77 61 |occurred| is alwa|
|00001a00| 79 73 20 74 68 65 20 6c | 61 73 74 0a 20 20 20 20 |ys the l|ast. |
|00001a10| 73 74 72 69 6e 67 20 69 | 6e 20 74 68 65 20 6c 69 |string i|n the li|
|00001a20| 73 74 2e 0a 0a 20 20 20 | 20 73 08 00 00 00 3c 73 |st... | s....<s|
|00001a30| 74 72 69 6e 67 3e 73 15 | 00 00 00 20 20 46 69 6c |tring>s.|... Fil|
|00001a40| 65 20 22 25 73 22 2c 20 | 6c 69 6e 65 20 25 64 0a |e "%s", |line %d.|
|00001a50| 73 07 00 00 00 20 20 20 | 20 25 73 0a 63 01 00 00 |s.... | %s.c...|
|00001a60| 00 02 00 00 00 03 00 00 | 00 73 00 00 00 73 2d 00 |........|.s...s-.|
|00001a70| 00 00 78 26 00 7c 00 00 | 5d 1f 00 7d 01 00 7c 01 |..x&.|..|]..}..|.|
|00001a80| 00 69 00 00 83 00 00 6f | 07 00 01 7c 01 00 70 04 |.i.....o|...|..p.|
|00001a90| 00 01 64 00 00 56 01 71 | 06 00 57 64 01 00 53 28 |..d..V.q|..Wd..S(|
|00001aa0| 02 00 00 00 52 31 00 00 | 00 4e 28 01 00 00 00 74 |....R1..|.N(....t|
|00001ab0| 07 00 00 00 69 73 73 70 | 61 63 65 28 02 00 00 00 |....issp|ace(....|
|00001ac0| 74 02 00 00 00 2e 30 74 | 01 00 00 00 63 28 00 00 |t.....0t|....c(..|
|00001ad0| 00 00 28 00 00 00 00 73 | 0d 00 00 00 74 72 61 63 |..(....s|....trac|
|00001ae0| 65 62 61 63 6b 2e 70 79 | 63 73 09 00 00 00 3c 67 |eback.py|cs....<g|
|00001af0| 65 6e 65 78 70 72 3e c3 | 00 00 00 73 00 00 00 00 |enexpr>.|...s....|
|00001b00| 73 07 00 00 00 20 20 20 | 25 73 5e 0a 52 0e 00 00 |s.... |%s^.R...|
|00001b10| 00 28 10 00 00 00 74 0a | 00 00 00 69 73 69 6e 73 |.(....t.|...isins|
|00001b20| 74 61 6e 63 65 74 0d 00 | 00 00 42 61 73 65 45 78 |tancet..|..BaseEx|
|00001b30| 63 65 70 74 69 6f 6e 74 | 05 00 00 00 74 79 70 65 |ceptiont|....type|
|00001b40| 73 74 0c 00 00 00 49 6e | 73 74 61 6e 63 65 54 79 |st....In|stanceTy|
|00001b50| 70 65 74 04 00 00 00 74 | 79 70 65 52 11 00 00 00 |pet....t|ypeR....|
|00001b60| 74 16 00 00 00 5f 66 6f | 72 6d 61 74 5f 66 69 6e |t...._fo|rmat_fin|
|00001b70| 61 6c 5f 65 78 63 5f 6c | 69 6e 65 74 08 00 00 00 |al_exc_l|inet....|
|00001b80| 5f 5f 6e 61 6d 65 5f 5f | 74 0a 00 00 00 69 73 73 |__name__|t....iss|
|00001b90| 75 62 63 6c 61 73 73 74 | 0b 00 00 00 53 79 6e 74 |ubclasst|....Synt|
|00001ba0| 61 78 45 72 72 6f 72 74 | 09 00 00 00 45 78 63 65 |axErrort|....Exce|
|00001bb0| 70 74 69 6f 6e 52 1e 00 | 00 00 52 14 00 00 00 52 |ptionR..|..R....R|
|00001bc0| 17 00 00 00 74 06 00 00 | 00 6c 73 74 72 69 70 74 |....t...|.lstript|
|00001bd0| 04 00 00 00 6a 6f 69 6e | 28 0a 00 00 00 52 32 00 |....join|(....R2.|
|00001be0| 00 00 52 33 00 00 00 74 | 05 00 00 00 73 74 79 70 |..R3...t|....styp|
|00001bf0| 65 52 34 00 00 00 74 03 | 00 00 00 6d 73 67 52 19 |eR4...t.|...msgR.|
|00001c00| 00 00 00 52 1a 00 00 00 | 74 06 00 00 00 6f 66 66 |...R....|t....off|
|00001c10| 73 65 74 74 07 00 00 00 | 62 61 64 6c 69 6e 65 74 |sett....|badlinet|
|00001c20| 0a 00 00 00 63 61 72 65 | 74 73 70 61 63 65 28 00 |....care|tspace(.|
|00001c30| 00 00 00 28 00 00 00 00 | 73 0d 00 00 00 74 72 61 |...(....|s....tra|
|00001c40| 63 65 62 61 63 6b 2e 70 | 79 63 52 03 00 00 00 94 |ceback.p|ycR.....|
|00001c50| 00 00 00 73 2e 00 00 00 | 00 17 10 01 13 01 13 01 |...s....|........|
|00001c60| 14 02 09 02 10 01 14 03 | 06 01 03 01 1c 01 0e 01 |........|........|
|00001c70| 05 02 0d 01 17 01 0d 01 | 17 01 0d 01 10 02 10 02 |........|........|
|00001c80| 1e 01 0a 02 16 01 63 02 | 00 00 00 04 00 00 00 03 |......c.|........|
|00001c90| 00 00 00 43 00 00 00 73 | 43 00 00 00 74 00 00 7c |...C...s|C...t..||
|00001ca0| 01 00 83 01 00 7d 02 00 | 7c 01 00 74 01 00 6a 08 |.....}..||..t..j.|
|00001cb0| 00 70 08 00 01 7c 02 00 | 0c 6f 0e 00 01 64 01 00 |.p...|..|.o...d..|
|00001cc0| 7c 00 00 16 7d 03 00 6e | 11 00 01 64 02 00 7c 00 ||...}..n|...d..|.|
|00001cd0| 00 7c 02 00 66 02 00 16 | 7d 03 00 7c 03 00 53 28 |.|..f...|}..|..S(|
|00001ce0| 03 00 00 00 73 47 00 00 | 00 52 65 74 75 72 6e 20 |....sG..|.Return |
|00001cf0| 61 20 6c 69 73 74 20 6f | 66 20 61 20 73 69 6e 67 |a list o|f a sing|
|00001d00| 6c 65 20 6c 69 6e 65 20 | 2d 2d 20 6e 6f 72 6d 61 |le line |-- norma|
|00001d10| 6c 20 63 61 73 65 20 66 | 6f 72 20 66 6f 72 6d 61 |l case f|or forma|
|00001d20| 74 5f 65 78 63 65 70 74 | 69 6f 6e 5f 6f 6e 6c 79 |t_except|ion_only|
|00001d30| 73 03 00 00 00 25 73 0a | 73 07 00 00 00 25 73 3a |s....%s.|s....%s:|
|00001d40| 20 25 73 0a 28 02 00 00 | 00 74 09 00 00 00 5f 73 | %s.(...|.t...._s|
|00001d50| 6f 6d 65 5f 73 74 72 52 | 14 00 00 00 28 04 00 00 |ome_strR|....(...|
|00001d60| 00 52 32 00 00 00 52 33 | 00 00 00 74 08 00 00 00 |.R2...R3|...t....|
|00001d70| 76 61 6c 75 65 73 74 72 | 52 1c 00 00 00 28 00 00 |valuestr|R....(..|
|00001d80| 00 00 28 00 00 00 00 73 | 0d 00 00 00 74 72 61 63 |..(....s|....trac|
|00001d90| 65 62 61 63 6b 2e 70 79 | 63 52 3d 00 00 00 cb 00 |eback.py|cR=.....|
|00001da0| 00 00 73 0a 00 00 00 00 | 02 0c 01 15 01 0e 02 10 |..s.....|........|
|00001db0| 01 63 01 00 00 00 01 00 | 00 00 05 00 00 00 43 00 |.c......|......C.|
|00001dc0| 00 00 73 2d 00 00 00 79 | 0e 00 74 00 00 7c 00 00 |..s-...y|..t..|..|
|00001dd0| 83 01 00 53 57 6e 18 00 | 01 01 01 64 01 00 74 01 |...SWn..|...d..t.|
|00001de0| 00 7c 00 00 83 01 00 69 | 02 00 16 53 6e 01 00 58 |.|.....i|...Sn..X|
|00001df0| 64 00 00 53 28 02 00 00 | 00 4e 73 17 00 00 00 3c |d..S(...|.Ns....<|
|00001e00| 75 6e 70 72 69 6e 74 61 | 62 6c 65 20 25 73 20 6f |unprinta|ble %s o|
|00001e10| 62 6a 65 63 74 3e 28 03 | 00 00 00 52 11 00 00 00 |bject>(.|...R....|
|00001e20| 52 3c 00 00 00 52 3e 00 | 00 00 28 01 00 00 00 52 |R<...R>.|..(....R|
|00001e30| 33 00 00 00 28 00 00 00 | 00 28 00 00 00 00 73 0d |3...(...|.(....s.|
|00001e40| 00 00 00 74 72 61 63 65 | 62 61 63 6b 2e 70 79 63 |...trace|back.pyc|
|00001e50| 52 49 00 00 00 d4 00 00 | 00 73 08 00 00 00 00 01 |RI......|.s......|
|00001e60| 03 01 0e 01 03 01 63 02 | 00 00 00 05 00 00 00 09 |......c.|........|
|00001e70| 00 00 00 43 00 00 00 73 | 5f 00 00 00 7c 01 00 64 |...C...s|_...|..d|
|00001e80| 01 00 6a 08 00 6f 0d 00 | 01 74 01 00 69 02 00 7d |..j..o..|.t..i..}|
|00001e90| 01 00 6e 01 00 01 7a 2f | 00 74 01 00 69 03 00 83 |..n...z/|.t..i...|
|00001ea0| 00 00 5c 03 00 7d 02 00 | 7d 03 00 7d 04 00 74 04 |..\..}..|}..}..t.|
|00001eb0| 00 7c 02 00 7c 03 00 7c | 04 00 7c 00 00 7c 01 00 |.|..|..||..|..|..|
|00001ec0| 83 05 00 01 57 64 01 00 | 64 01 00 04 7d 02 00 04 |....Wd..|d...}...|
|00001ed0| 7d 03 00 7d 04 00 58 64 | 01 00 53 28 02 00 00 00 |}..}..Xd|..S(....|
|00001ee0| 73 be 00 00 00 53 68 6f | 72 74 68 61 6e 64 20 66 |s....Sho|rthand f|
|00001ef0| 6f 72 20 27 70 72 69 6e | 74 5f 65 78 63 65 70 74 |or 'prin|t_except|
|00001f00| 69 6f 6e 28 73 79 73 2e | 65 78 63 5f 74 79 70 65 |ion(sys.|exc_type|
|00001f10| 2c 20 73 79 73 2e 65 78 | 63 5f 76 61 6c 75 65 2c |, sys.ex|c_value,|
|00001f20| 20 73 79 73 2e 65 78 63 | 5f 74 72 61 63 65 62 61 | sys.exc|_traceba|
|00001f30| 63 6b 2c 20 6c 69 6d 69 | 74 2c 20 66 69 6c 65 29 |ck, limi|t, file)|
|00001f40| 27 2e 0a 20 20 20 20 28 | 49 6e 20 66 61 63 74 2c |'.. (|In fact,|
|00001f50| 20 69 74 20 75 73 65 73 | 20 73 79 73 2e 65 78 63 | it uses| sys.exc|
|00001f60| 5f 69 6e 66 6f 28 29 20 | 74 6f 20 72 65 74 72 69 |_info() |to retri|
|00001f70| 65 76 65 20 74 68 65 20 | 73 61 6d 65 20 69 6e 66 |eve the |same inf|
|00001f80| 6f 72 6d 61 74 69 6f 6e | 0a 20 20 20 20 69 6e 20 |ormation|. in |
|00001f90| 61 20 74 68 72 65 61 64 | 2d 73 61 66 65 20 77 61 |a thread|-safe wa|
|00001fa0| 79 2e 29 4e 28 05 00 00 | 00 52 14 00 00 00 52 15 |y.)N(...|.R....R.|
|00001fb0| 00 00 00 52 16 00 00 00 | 74 08 00 00 00 65 78 63 |...R....|t....exc|
|00001fc0| 5f 69 6e 66 6f 52 09 00 | 00 00 28 05 00 00 00 52 |_infoR..|..(....R|
|00001fd0| 2d 00 00 00 52 10 00 00 | 00 52 32 00 00 00 52 33 |-...R...|.R2...R3|
|00001fe0| 00 00 00 52 2c 00 00 00 | 28 00 00 00 00 28 00 00 |...R,...|(....(..|
|00001ff0| 00 00 73 0d 00 00 00 74 | 72 61 63 65 62 61 63 6b |..s....t|raceback|
|00002000| 2e 70 79 63 52 07 00 00 | 00 db 00 00 00 73 0c 00 |.pycR...|.....s..|
|00002010| 00 00 00 04 0d 01 0d 01 | 03 01 15 01 1a 02 63 01 |........|......c.|
|00002020| 00 00 00 04 00 00 00 09 | 00 00 00 43 00 00 00 73 |........|...C...s|
|00002030| 4b 00 00 00 7a 35 00 74 | 00 00 69 01 00 83 00 00 |K...z5.t|..i.....|
|00002040| 5c 03 00 7d 01 00 7d 02 | 00 7d 03 00 64 01 00 69 |\..}..}.|.}..d..i|
|00002050| 02 00 74 03 00 7c 01 00 | 7c 02 00 7c 03 00 7c 00 |..t..|..||..|..|.|
|00002060| 00 83 04 00 83 01 00 53 | 57 64 02 00 64 02 00 04 |.......S|Wd..d...|
|00002070| 7d 01 00 04 7d 02 00 7d | 03 00 58 64 02 00 53 28 |}...}..}|..Xd..S(|
|00002080| 03 00 00 00 73 25 00 00 | 00 4c 69 6b 65 20 70 72 |....s%..|.Like pr|
|00002090| 69 6e 74 5f 65 78 63 28 | 29 20 62 75 74 20 72 65 |int_exc(|) but re|
|000020a0| 74 75 72 6e 20 61 20 73 | 74 72 69 6e 67 2e 52 0e |turn a s|tring.R.|
|000020b0| 00 00 00 4e 28 05 00 00 | 00 52 15 00 00 00 52 4b |...N(...|.R....RK|
|000020c0| 00 00 00 52 43 00 00 00 | 52 02 00 00 00 52 14 00 |...RC...|R....R..|
|000020d0| 00 00 28 04 00 00 00 52 | 2d 00 00 00 52 32 00 00 |..(....R|-...R2..|
|000020e0| 00 52 33 00 00 00 52 2c | 00 00 00 28 00 00 00 00 |.R3...R,|...(....|
|000020f0| 28 00 00 00 00 73 0d 00 | 00 00 74 72 61 63 65 62 |(....s..|..traceb|
|00002100| 61 63 6b 2e 70 79 63 52 | 08 00 00 00 e8 00 00 00 |ack.pycR|........|
|00002110| 73 08 00 00 00 00 02 03 | 01 15 01 20 02 63 02 00 |s.......|... .c..|
|00002120| 00 00 02 00 00 00 06 00 | 00 00 43 00 00 00 73 3d |........|..C...s=|
|00002130| 00 00 00 7c 01 00 64 01 | 00 6a 08 00 6f 0d 00 01 |...|..d.|.j..o...|
|00002140| 74 01 00 69 02 00 7d 01 | 00 6e 01 00 01 74 03 00 |t..i..}.|.n...t..|
|00002150| 74 01 00 69 04 00 74 01 | 00 69 05 00 74 01 00 69 |t..i..t.|.i..t..i|
|00002160| 06 00 7c 00 00 7c 01 00 | 83 05 00 01 64 01 00 53 |..|..|..|....d..S|
|00002170| 28 02 00 00 00 73 6e 00 | 00 00 54 68 69 73 20 69 |(....sn.|..This i|
|00002180| 73 20 61 20 73 68 6f 72 | 74 68 61 6e 64 20 66 6f |s a shor|thand fo|
|00002190| 72 20 27 70 72 69 6e 74 | 5f 65 78 63 65 70 74 69 |r 'print|_excepti|
|000021a0| 6f 6e 28 73 79 73 2e 6c | 61 73 74 5f 74 79 70 65 |on(sys.l|ast_type|
|000021b0| 2c 0a 20 20 20 20 73 79 | 73 2e 6c 61 73 74 5f 76 |,. sy|s.last_v|
|000021c0| 61 6c 75 65 2c 20 73 79 | 73 2e 6c 61 73 74 5f 74 |alue, sy|s.last_t|
|000021d0| 72 61 63 65 62 61 63 6b | 2c 20 6c 69 6d 69 74 2c |raceback|, limit,|
|000021e0| 20 66 69 6c 65 29 27 2e | 4e 28 07 00 00 00 52 14 | file)'.|N(....R.|
|000021f0| 00 00 00 52 15 00 00 00 | 52 16 00 00 00 52 09 00 |...R....|R....R..|
|00002200| 00 00 74 09 00 00 00 6c | 61 73 74 5f 74 79 70 65 |..t....l|ast_type|
|00002210| 74 0a 00 00 00 6c 61 73 | 74 5f 76 61 6c 75 65 74 |t....las|t_valuet|
|00002220| 0e 00 00 00 6c 61 73 74 | 5f 74 72 61 63 65 62 61 |....last|_traceba|
|00002230| 63 6b 28 02 00 00 00 52 | 2d 00 00 00 52 10 00 00 |ck(....R|-...R...|
|00002240| 00 28 00 00 00 00 28 00 | 00 00 00 73 0d 00 00 00 |.(....(.|...s....|
|00002250| 74 72 61 63 65 62 61 63 | 6b 2e 70 79 63 52 0a 00 |tracebac|k.pycR..|
|00002260| 00 00 f1 00 00 00 73 08 | 00 00 00 00 03 0d 01 0d |......s.|........|
|00002270| 01 15 01 63 03 00 00 00 | 03 00 00 00 07 00 00 00 |...c....|........|
|00002280| 43 00 00 00 73 61 00 00 | 00 7c 00 00 64 02 00 6a |C...sa..|.|..d..j|
|00002290| 08 00 6f 3a 00 01 79 0a | 00 74 01 00 82 01 00 57 |..o:..y.|.t.....W|
|000022a0| 71 47 00 04 74 01 00 6a | 0a 00 6f 1d 00 01 01 01 |qG..t..j|..o.....|
|000022b0| 01 74 02 00 69 03 00 83 | 00 00 64 01 00 19 69 04 |.t..i...|..d...i.|
|000022c0| 00 69 05 00 7d 00 00 71 | 47 00 01 58 6e 01 00 01 |.i..}..q|G..Xn...|
|000022d0| 74 06 00 74 07 00 7c 00 | 00 7c 01 00 83 02 00 7c |t..t..|.|.|.....||
|000022e0| 02 00 83 02 00 01 64 02 | 00 53 28 03 00 00 00 73 |......d.|.S(....s|
|000022f0| f7 00 00 00 50 72 69 6e | 74 20 61 20 73 74 61 63 |....Prin|t a stac|
|00002300| 6b 20 74 72 61 63 65 20 | 66 72 6f 6d 20 69 74 73 |k trace |from its|
|00002310| 20 69 6e 76 6f 63 61 74 | 69 6f 6e 20 70 6f 69 6e | invocat|ion poin|
|00002320| 74 2e 0a 0a 20 20 20 20 | 54 68 65 20 6f 70 74 69 |t... |The opti|
|00002330| 6f 6e 61 6c 20 27 66 27 | 20 61 72 67 75 6d 65 6e |onal 'f'| argumen|
|00002340| 74 20 63 61 6e 20 62 65 | 20 75 73 65 64 20 74 6f |t can be| used to|
|00002350| 20 73 70 65 63 69 66 79 | 20 61 6e 20 61 6c 74 65 | specify| an alte|
|00002360| 72 6e 61 74 65 0a 20 20 | 20 20 73 74 61 63 6b 20 |rnate. | stack |
|00002370| 66 72 61 6d 65 20 61 74 | 20 77 68 69 63 68 20 74 |frame at| which t|
|00002380| 6f 20 73 74 61 72 74 2e | 20 54 68 65 20 6f 70 74 |o start.| The opt|
|00002390| 69 6f 6e 61 6c 20 27 6c | 69 6d 69 74 27 20 61 6e |ional 'l|imit' an|
|000023a0| 64 20 27 66 69 6c 65 27 | 0a 20 20 20 20 61 72 67 |d 'file'|. arg|
|000023b0| 75 6d 65 6e 74 73 20 68 | 61 76 65 20 74 68 65 20 |uments h|ave the |
|000023c0| 73 61 6d 65 20 6d 65 61 | 6e 69 6e 67 20 61 73 20 |same mea|ning as |
|000023d0| 66 6f 72 20 70 72 69 6e | 74 5f 65 78 63 65 70 74 |for prin|t_except|
|000023e0| 69 6f 6e 28 29 2e 0a 20 | 20 20 20 69 02 00 00 00 |ion().. | i....|
|000023f0| 4e 28 08 00 00 00 52 14 | 00 00 00 74 11 00 00 00 |N(....R.|...t....|
|00002400| 5a 65 72 6f 44 69 76 69 | 73 69 6f 6e 45 72 72 6f |ZeroDivi|sionErro|
|00002410| 72 52 15 00 00 00 52 4b | 00 00 00 52 23 00 00 00 |rR....RK|...R#...|
|00002420| 74 06 00 00 00 66 5f 62 | 61 63 6b 52 1d 00 00 00 |t....f_b|ackR....|
|00002430| 52 00 00 00 00 28 03 00 | 00 00 52 2f 00 00 00 52 |R....(..|..R/...R|
|00002440| 2d 00 00 00 52 10 00 00 | 00 28 00 00 00 00 28 00 |-...R...|.(....(.|
|00002450| 00 00 00 73 0d 00 00 00 | 74 72 61 63 65 62 61 63 |...s....|tracebac|
|00002460| 6b 2e 70 79 63 52 0b 00 | 00 00 fa 00 00 00 73 0c |k.pycR..|......s.|
|00002470| 00 00 00 00 07 0d 01 03 | 01 0a 01 0e 01 1f 01 63 |........|.......c|
|00002480| 02 00 00 00 02 00 00 00 | 07 00 00 00 43 00 00 00 |........|....C...|
|00002490| 73 5a 00 00 00 7c 00 00 | 74 00 00 6a 08 00 6f 3a |sZ...|..|t..j..o:|
|000024a0| 00 01 79 0a 00 74 01 00 | 82 01 00 57 71 47 00 04 |..y..t..|...WqG..|
|000024b0| 74 01 00 6a 0a 00 6f 1d | 00 01 01 01 01 74 02 00 |t..j..o.|.....t..|
|000024c0| 69 03 00 83 00 00 64 01 | 00 19 69 04 00 69 05 00 |i.....d.|..i..i..|
|000024d0| 7d 00 00 71 47 00 01 58 | 6e 01 00 01 74 06 00 74 |}..qG..X|n...t..t|
|000024e0| 07 00 7c 00 00 7c 01 00 | 83 02 00 83 01 00 53 28 |..|..|..|......S(|
|000024f0| 02 00 00 00 73 35 00 00 | 00 53 68 6f 72 74 68 61 |....s5..|.Shortha|
|00002500| 6e 64 20 66 6f 72 20 27 | 66 6f 72 6d 61 74 5f 6c |nd for '|format_l|
|00002510| 69 73 74 28 65 78 74 72 | 61 63 74 5f 73 74 61 63 |ist(extr|act_stac|
|00002520| 6b 28 66 2c 20 6c 69 6d | 69 74 29 29 27 2e 69 02 |k(f, lim|it))'.i.|
|00002530| 00 00 00 28 08 00 00 00 | 52 14 00 00 00 52 4f 00 |...(....|R....RO.|
|00002540| 00 00 52 15 00 00 00 52 | 4b 00 00 00 52 23 00 00 |..R....R|K...R#..|
|00002550| 00 52 50 00 00 00 52 04 | 00 00 00 52 00 00 00 00 |.RP...R.|...R....|
|00002560| 28 02 00 00 00 52 2f 00 | 00 00 52 2d 00 00 00 28 |(....R/.|..R-...(|
|00002570| 00 00 00 00 28 00 00 00 | 00 73 0d 00 00 00 74 72 |....(...|.s....tr|
|00002580| 61 63 65 62 61 63 6b 2e | 70 79 63 52 05 00 00 00 |aceback.|pycR....|
|00002590| 08 01 00 00 73 0c 00 00 | 00 00 02 0d 01 03 01 0a |....s...|........|
|000025a0| 01 0e 01 1f 01 63 02 00 | 00 00 09 00 00 00 08 00 |.....c..|........|
|000025b0| 00 00 43 00 00 00 73 50 | 01 00 00 7c 00 00 74 00 |..C...sP|...|..t.|
|000025c0| 00 6a 08 00 6f 3a 00 01 | 79 0a 00 74 01 00 82 01 |.j..o:..|y..t....|
|000025d0| 00 57 71 47 00 04 74 01 | 00 6a 0a 00 6f 1d 00 01 |.WqG..t.|.j..o...|
|000025e0| 01 01 01 74 02 00 69 03 | 00 83 00 00 64 01 00 19 |...t..i.|....d...|
|000025f0| 69 04 00 69 05 00 7d 00 | 00 71 47 00 01 58 6e 01 |i..i..}.|.qG..Xn.|
|00002600| 00 01 7c 01 00 74 00 00 | 6a 08 00 6f 21 00 01 74 |..|..t..|j..o!..t|
|00002610| 06 00 74 02 00 64 02 00 | 83 02 00 6f 0d 00 01 74 |..t..d..|...o...t|
|00002620| 02 00 69 07 00 7d 01 00 | 71 75 00 01 6e 01 00 01 |..i..}..|qu..n...|
|00002630| 67 00 00 7d 02 00 64 03 | 00 7d 03 00 78 be 00 7c |g..}..d.|.}..x..||
|00002640| 00 00 74 00 00 6a 09 00 | 6f b0 00 01 7c 01 00 74 |..t..j..|o...|..t|
|00002650| 00 00 6a 08 00 70 0d 00 | 01 7c 03 00 7c 01 00 6a |..j..p..|.|..|..j|
|00002660| 00 00 6f 96 00 01 7c 00 | 00 69 08 00 7d 04 00 7c |..o...|.|.i..}..||
|00002670| 00 00 69 09 00 7d 05 00 | 7c 05 00 69 0a 00 7d 06 |..i..}..||..i..}.|
|00002680| 00 7c 05 00 69 0b 00 7d | 07 00 74 0c 00 69 0d 00 |.|..i..}|..t..i..|
|00002690| 7c 06 00 83 01 00 01 74 | 0c 00 69 0e 00 7c 06 00 ||......t|..i..|..|
|000026a0| 7c 04 00 7c 00 00 69 0f | 00 83 03 00 7d 08 00 7c ||..|..i.|....}..||
|000026b0| 08 00 6f 10 00 01 7c 08 | 00 69 10 00 83 00 00 7d |..o...|.|.i.....}|
|000026c0| 08 00 6e 07 00 01 74 00 | 00 7d 08 00 7c 02 00 69 |..n...t.|.}..|..i|
|000026d0| 11 00 7c 06 00 7c 04 00 | 7c 07 00 7c 08 00 66 04 |..|..|..||..|..f.|
|000026e0| 00 83 01 00 01 7c 00 00 | 69 05 00 7d 00 00 7c 03 |.....|..|i..}..|.|
|000026f0| 00 64 04 00 17 7d 03 00 | 71 84 00 01 57 7c 02 00 |.d...}..|q...W|..|
|00002700| 69 12 00 83 00 00 01 7c | 02 00 53 28 05 00 00 00 |i......||..S(....|
|00002710| 73 73 01 00 00 45 78 74 | 72 61 63 74 20 74 68 65 |ss...Ext|ract the|
|00002720| 20 72 61 77 20 74 72 61 | 63 65 62 61 63 6b 20 66 | raw tra|ceback f|
|00002730| 72 6f 6d 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |rom the |current |
|00002740| 73 74 61 63 6b 20 66 72 | 61 6d 65 2e 0a 0a 20 20 |stack fr|ame... |
|00002750| 20 20 54 68 65 20 72 65 | 74 75 72 6e 20 76 61 6c | The re|turn val|
|00002760| 75 65 20 68 61 73 20 74 | 68 65 20 73 61 6d 65 20 |ue has t|he same |
|00002770| 66 6f 72 6d 61 74 20 61 | 73 20 66 6f 72 20 65 78 |format a|s for ex|
|00002780| 74 72 61 63 74 5f 74 62 | 28 29 2e 20 20 54 68 65 |tract_tb|(). The|
|00002790| 0a 20 20 20 20 6f 70 74 | 69 6f 6e 61 6c 20 27 66 |. opt|ional 'f|
|000027a0| 27 20 61 6e 64 20 27 6c | 69 6d 69 74 27 20 61 72 |' and 'l|imit' ar|
|000027b0| 67 75 6d 65 6e 74 73 20 | 68 61 76 65 20 74 68 65 |guments |have the|
|000027c0| 20 73 61 6d 65 20 6d 65 | 61 6e 69 6e 67 20 61 73 | same me|aning as|
|000027d0| 20 66 6f 72 0a 20 20 20 | 20 70 72 69 6e 74 5f 73 | for. | print_s|
|000027e0| 74 61 63 6b 28 29 2e 20 | 20 45 61 63 68 20 69 74 |tack(). | Each it|
|000027f0| 65 6d 20 69 6e 20 74 68 | 65 20 6c 69 73 74 20 69 |em in th|e list i|
|00002800| 73 20 61 20 71 75 61 64 | 72 75 70 6c 65 20 28 66 |s a quad|ruple (f|
|00002810| 69 6c 65 6e 61 6d 65 2c | 0a 20 20 20 20 6c 69 6e |ilename,|. lin|
|00002820| 65 20 6e 75 6d 62 65 72 | 2c 20 66 75 6e 63 74 69 |e number|, functi|
|00002830| 6f 6e 20 6e 61 6d 65 2c | 20 74 65 78 74 29 2c 20 |on name,| text), |
|00002840| 61 6e 64 20 74 68 65 20 | 65 6e 74 72 69 65 73 20 |and the |entries |
|00002850| 61 72 65 20 69 6e 20 6f | 72 64 65 72 0a 20 20 20 |are in o|rder. |
|00002860| 20 66 72 6f 6d 20 6f 6c | 64 65 73 74 20 74 6f 20 | from ol|dest to |
|00002870| 6e 65 77 65 73 74 20 73 | 74 61 63 6b 20 66 72 61 |newest s|tack fra|
|00002880| 6d 65 2e 0a 20 20 20 20 | 69 02 00 00 00 52 21 00 |me.. |i....R!.|
|00002890| 00 00 69 00 00 00 00 69 | 01 00 00 00 28 13 00 00 |..i....i|....(...|
|000028a0| 00 52 14 00 00 00 52 4f | 00 00 00 52 15 00 00 00 |.R....RO|...R....|
|000028b0| 52 4b 00 00 00 52 23 00 | 00 00 52 50 00 00 00 52 |RK...R#.|..RP...R|
|000028c0| 22 00 00 00 52 21 00 00 | 00 74 08 00 00 00 66 5f |"...R!..|.t....f_|
|000028d0| 6c 69 6e 65 6e 6f 52 24 | 00 00 00 52 25 00 00 00 |linenoR$|...R%...|
|000028e0| 52 26 00 00 00 52 27 00 | 00 00 52 28 00 00 00 52 |R&...R'.|..R(...R|
|000028f0| 29 00 00 00 52 2a 00 00 | 00 52 17 00 00 00 52 1e |)...R*..|.R....R.|
|00002900| 00 00 00 74 07 00 00 00 | 72 65 76 65 72 73 65 28 |...t....|reverse(|
|00002910| 09 00 00 00 52 2f 00 00 | 00 52 2d 00 00 00 52 1f |....R/..|.R-...R.|
|00002920| 00 00 00 52 2e 00 00 00 | 52 1a 00 00 00 52 30 00 |...R....|R....R0.|
|00002930| 00 00 52 19 00 00 00 52 | 1b 00 00 00 52 1c 00 00 |..R....R|....R...|
|00002940| 00 28 00 00 00 00 28 00 | 00 00 00 73 0d 00 00 00 |.(....(.|...s....|
|00002950| 74 72 61 63 65 62 61 63 | 6b 2e 70 79 63 52 00 00 |tracebac|k.pycR..|
|00002960| 00 00 11 01 00 00 73 30 | 00 00 00 00 09 0d 01 03 |......s0|........|
|00002970| 01 0a 01 0e 01 1f 01 0d | 01 10 01 11 01 06 01 06 |........|........|
|00002980| 01 2a 01 09 01 09 01 09 | 01 09 01 0d 01 18 01 17 |.*......|........|
|00002990| 01 06 01 19 01 09 01 0f | 01 0a 01 63 01 00 00 00 |........|...c....|
|000029a0| 01 00 00 00 01 00 00 00 | 43 00 00 00 73 07 00 00 |........|C...s...|
|000029b0| 00 7c 00 00 69 00 00 53 | 28 01 00 00 00 73 52 00 |.|..i..S|(....sR.|
|000029c0| 00 00 43 61 6c 63 75 6c | 61 74 65 20 63 6f 72 72 |..Calcul|ate corr|
|000029d0| 65 63 74 20 6c 69 6e 65 | 20 6e 75 6d 62 65 72 20 |ect line| number |
|000029e0| 6f 66 20 74 72 61 63 65 | 62 61 63 6b 20 67 69 76 |of trace|back giv|
|000029f0| 65 6e 20 69 6e 20 74 62 | 2e 0a 0a 20 20 20 20 4f |en in tb|... O|
|00002a00| 62 73 6f 6c 65 74 65 20 | 69 6e 20 32 2e 33 2e 0a |bsolete |in 2.3..|
|00002a10| 20 20 20 20 28 01 00 00 | 00 52 0d 00 00 00 28 01 | (...|.R....(.|
|00002a20| 00 00 00 52 2c 00 00 00 | 28 00 00 00 00 28 00 00 |...R,...|(....(..|
|00002a30| 00 00 73 0d 00 00 00 74 | 72 61 63 65 62 61 63 6b |..s....t|raceback|
|00002a40| 2e 70 79 63 52 0d 00 00 | 00 33 01 00 00 73 02 00 |.pycR...|.3...s..|
|00002a50| 00 00 00 05 28 18 00 00 | 00 74 07 00 00 00 5f 5f |....(...|.t....__|
|00002a60| 64 6f 63 5f 5f 52 27 00 | 00 00 52 15 00 00 00 52 |doc__R'.|..R....R|
|00002a70| 3a 00 00 00 74 07 00 00 | 00 5f 5f 61 6c 6c 5f 5f |:...t...|.__all__|
|00002a80| 52 13 00 00 00 52 14 00 | 00 00 52 1d 00 00 00 52 |R....R..|..R....R|
|00002a90| 04 00 00 00 52 0c 00 00 | 00 52 06 00 00 00 52 01 |....R...|.R....R.|
|00002aa0| 00 00 00 52 09 00 00 00 | 52 02 00 00 00 52 03 00 |...R....|R....R..|
|00002ab0| 00 00 52 3d 00 00 00 52 | 49 00 00 00 52 07 00 00 |..R=...R|I...R...|
|00002ac0| 00 52 08 00 00 00 52 0a | 00 00 00 52 0b 00 00 00 |.R....R.|...R....|
|00002ad0| 52 05 00 00 00 52 00 00 | 00 00 52 0d 00 00 00 28 |R....R..|..R....(|
|00002ae0| 00 00 00 00 28 00 00 00 | 00 28 00 00 00 00 73 0d |....(...|.(....s.|
|00002af0| 00 00 00 74 72 61 63 65 | 62 61 63 6b 2e 70 79 63 |...trace|back.pyc|
|00002b00| 73 08 00 00 00 3c 6d 6f | 64 75 6c 65 3e 01 00 00 |s....<mo|dule>...|
|00002b10| 00 73 32 00 00 00 06 02 | 0c 01 0c 01 0c 02 09 01 |.s2.....|........|
|00002b20| 09 01 0c 01 12 02 0f 04 | 0c 0b 09 13 0f 1c 0c 04 |........|........|
|00002b30| 0c 20 0f 15 0c 11 09 37 | 09 09 09 07 0f 0d 0c 09 |. .....7|........|
|00002b40| 0f 09 12 0e 0f 09 0f 22 | |......."| |
+--------+-------------------------+-------------------------+--------+--------+